/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

/*
 * As a general rule, only version-specific property overrides should be placed
 * inside this file. However, device definitions should be placed inside the
 * msm8226.dtsi file.
 */

/include/ "msm8226-v1-sec_ct01-r00.dtsi"

&pm8226_l3 {
	regulator-min-microvolt = <750000>;
	regulator-max-microvolt = <1287500>;
};

&pm8226_l3_ao {
	regulator-min-microvolt = <750000>;
	regulator-max-microvolt = <1287500>;
};

&pm8226_l3_so {
	regulator-min-microvolt = <750000>;
	regulator-max-microvolt = <1287500>;
};

&pm8226_s2 {
	regulator-min-microvolt = <900000>;
	regulator-max-microvolt = <1280000>;
};

&apc_vreg_corner {
	qcom,pvs-bin-process = <1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2
				2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 3>;
	qcom,pvs-corner-ceiling-slow = <1185000 1185000 1280000>; 
	qcom,pvs-corner-ceiling-nom  =  <1005000 1105000 1225000>; 
	qcom,pvs-corner-ceiling-fast =  <925000 1025000 1165000>;
	qcom,cpr-step-quotient = <30>;
	qcom,cpr-up-threshold = <0>;
	qcom,cpr-down-threshold = <5>;
	qcom,cpr-apc-volt-step = <10000>;
};

&msm_gpu {
	/* Updated chip ID */
	qcom,chipid = <0x03000512>;
};

&soc {
	qcom,acpuclk@f9011050 {
		reg =	<0xf9011050 0x8>,
			<0xfc4b80b0 0x8>;
		reg-names = "rcg_base", "pte_efuse";
	};

	earjack {
		/*Override GPIO properties*/
		qcom,earjack-detect-gpio = <&msmgpio 69 0>;
		qcom,earjack-sendend-gpio = <&msmgpio 35 0>;
	};
};

&tsens {
	qcom,sensors = <6>;
	qcom,slope = <2901 2846 3038 2955 2901 2846>;
};

&soc {
    i2c@f9924000 { /* BLSP1 QUP2 */
		accelerometer@18 {
			compatible = "bosch,bma254";
			reg = <0x18>;
			interrupt-parent = <&msmgpio>;
			interrupts = <64 0>;
			bosch,i2c-pull-up = <1>;
			bosch,reg_vdd = "8226_l19";
			bosch,reg_vio = "8226_lvs1";
			bosch,used_chip = "BMA25X_ENABLED";
			bosch,position = <1>;
		};
	};

};
